<?php
class Model_Table_Appointment
{

	private $appointment_id;
	private $date;
	private $start_time;
	private $end_time;
	private $total_estimate_time;
	private $status;
	private $Profile_profile_id;
	private $Car_car_id;
	
	//constructor
	public function __construct($appointmentId, $date, $startTime, $endTime, $totalEstimateTime, $status, $profileId, $carId)
	{
		$this->appointment_id=$appointmentId;
		$this->date=$date;
		$this->start_time=$startTime;
		$this->end_time=$endTime;
		$this->total_estimate_time=$totalEstimateTime;
		$this->status=$status;
		$this->Profile_profile_id=$profileId;
		$this->Car_car_id=$carId;
	}
	
	//accessor and mutator
	public function getAppointmentId()
	{
		return $this->appointment_id;
	}
	public function setAppointmentId($appointmentId)
	{
		$this->appointment_id=$appointmentId;
	}
	
	public function getDate()
	{
		return $this->date;
	}
	public function setDate($date)
	{
		$this->date=$date;
	}
	
	public function getStartTime()
	{
		return $this->start_time;
	}
	public function setStartTime($startTime)
	{
		$this->start_time=$startTime;
	}
	
	public function getEndTime()
	{
		return $this->end_time;
	}
	public function setEndTime($endTime)
	{
		$this->end_time=$endTime;
	}
	
	public function getTotalEstimateTime()
	{
		return $this->total_estimate_time;
	}
	public function setTotalEstimateTime($totalEstimateTime)
	{
		$this->total_estimate_time=$totalEstimateTime;
	}
	
	public function getStatus()
	{
		return $this->status;
	}
	public function setStatus($status)
	{
		$this->status=$status;
	}
	
	public function getProfileId()
	{
		return $this->Profile_profile_id;
	}
	public function setProfileId($profileId)
	{
		$this->Profile_profile_id=$profileId;
	}
	
	public function getCarId()
	{
		return $this->Car_car_id;
	}
	public function setCarId($carId)
	{
		$this->Car_car_id=$carId;
	}
}
